<template>
    <el-main>
        <el-main class="ep-body">
            <epl-top-bar :datas="{formData: form}" showCompany  companyType="COMPANY_AAB000_EXACT" cpTagType="COMPANY_SIMPLE_GROUP">
                <ep-button size="small" name="打印"></ep-button>
                <ep-button size="small" name="刷新"></ep-button>
            </epl-top-bar>
             <epl-userMessage dataType="company" idCount="2" functionId="company" :panel="panel">
                <epl-insurance functionId="company" :panel="panel"></epl-insurance>
            </epl-userMessage>
            <el-card class="ep-card">
                <ep-title>请输入空册信息</ep-title>
                <el-form :model="form" :rules="rules" ref="form">
                <el-row :gutter="10">
                     <ep-select colspan="8" label="单位类型" name="aab019" :property="form.aab019"
                                          placeholder="" p="D" codetype="AAB019"
                                          :datas="{formData:form}" ></ep-select>
                    <ep-input colspan="8" label="参保缴费人数" name="cbjfrs" :property="form.cbjfrs"
                                          placeholder="0" p="D"
                                          :datas="{formData:form}" ></ep-input>
                    <ep-select colspan="8" label="导出方式" name="dcfs" :property="form.dcfs" 
                                           placeholder="请选择导出方式" codetype="DCFS" p="R"
                                           :datas="{formData:form}"></ep-select>
                </el-row>
                </el-form>
                 <ep-title>工资清册</ep-title>
                <el-row>
                    <ep-table :data="tableData" border style="width: 100%;" rowDbClick :titleFilter="demo" >
                        <ep-table-column editor="index" width="85"  header="序号">
                                        </ep-table-column>                      
                        <ep-table-column editor="text" name="aab001"  header="单位编号" width="140"></ep-table-column>
                         <ep-table-column editor="text" name="aab069"  header="单位名称"  width="140"></ep-table-column>  
                        <ep-table-column sortable editor="text"   name="grbh" header="个人编号" width="140"></ep-table-column>
                        <ep-table-column sortable editor="text"   name="sbnd" header="申报年度" width="140"></ep-table-column>
                        <ep-table-column sortable editor="text"   name="xm" header="姓名" width="140"></ep-table-column>
                        <ep-table-column sortable editor="text"   name="shbzh" header="社会保障号" width="140"></ep-table-column>
                        <ep-table-column sortable editor="text"   name="sndgz" header="上年度月平均工资" width="200"></ep-table-column>
                    </ep-table>

                </el-row>
                 <el-row type="flex" justify="center">
                        <ep-saveButton id="doSave" top="20" type="primary" bottom="20" ref="save"
                                       :datas="{formData: form,tableData:tableData,panel:panel}" name="打印"></ep-saveButton>
                    </el-row>         
            </el-card> 
        </el-main>
    </el-main>
</template>



<script src="../js/ExpEmployeeWageJS.js"></script>
